package com.jwdf.uda.ui.fragment.stylist;

import com.jwdf.uda.bean.PbBean;
import com.jwdf.uda.event.StylistDisposeEvent;
import com.jwdf.uda.utils.EventBusUtil;

/**
 * 类说明：
 */
public class StylistDisposeFragment extends AbsStylistFragment {
    public static StylistDisposeFragment instance() {
        StylistDisposeFragment view = new StylistDisposeFragment();
        return view;
    }

    @Override
    protected PbBean.PbSignGuideListFilterType getGuideListFilterType() {
        return PbBean.PbSignGuideListFilterType.GUIDE_LIST_FILTER_UNDERWAY;
    }

    @Override
    protected void doSuccessResponse(boolean refresh, PbBean.PbResGuideGetDesignerGuideList body) {
        super.doSuccessResponse(refresh, body);
        EventBusUtil.post(StylistDisposeEvent.newInstance(body.getNewCount()));
    }
}
